package cn.cy.structure.adapter.cls;

public class PatternClient {

    /**
     * 缺点：继承带来额外负担
     */
    public static void main(String[] args) {
        System.out.println("适配器模式-类模式-测试：");
        Target target = new ClassAdapter(); // 多态
        target.request();
    }
    
}
